home *** CD-ROM | disk | FTP | other *** search
- @echo off
- rem SEE MAIL batch file
- rem This runs See Mail from a location on your LAN
- rem
- rem Replace the p:\mailprg with the location on your LAN
- rem of the See Mail program.
- rem If you want to use MCI Mail copy the MCImail.com & mmterm.com to
- rem your main mail folder (%%p).
- if exist p:\mailprg\see-mail.exe goto :mailok
- goto :lanerr
- :mailok
- if exist %%m\sm*.cfg goto :instlok
- echo
- echo Installing mail system..........
- echo on
- md %%m
- md %%m\outgoing.fld
- md %%m\incoming.fld
- md %%m\drafts.fld
- md %%m\sent.fld
- md %%m\unsent.fld
- md %%m\status.fld
- copy p:\mailprg\*.cfg %%m
- @echo off
- :instlok
- echo Loading mail program...
- if exist %%p\!track del %%p\!track > nul
- p:\mailprg\gshroom -v -o %%p\!track -s %%s p:\mailprg\see-mail %%p
- goto :endprg
- :lanerr
- echo
- echo Ooops! Network not found......
- :endprg